[Typo3-shop] Image problems in single view

Jogvan Olsen jo at atlanticvideo.dk
Tue Jan 11 19:45:12 CET 2005


Thank You



You solved the problem.



Jogvan





"media.res | alex widschwendter" <a.widschwendter at mediares.at> wrote in 
message 
news:mailman.1.1105195862.7263.typo3-project-tt-products at lists.netfielders.de...
> hi,
>
>> I can only find one field to add images for a product.
>>
>>
>>
>> The way I upload images for products is:
>>
>> -         create new record
>>
>> -         selects 'products'
>>
>> -         in the 'edit form' I select the field 'image' (just below the 
>> RTE note panel)
>>
>> -         in the 'image' field I add all 3 images
>>
>>
>>
>> Is there another way to do this - can I get another image field?
>
> you can add other image fields in the tca.php of this extension... you 
> surley find this out on investigating a little bit.
>
> with one field change the code:
>
> $theImgCode="";
> $imgs = explode(",",$row["image"]);
> $val = $imgs[0];
>
> if ($val) {
> $this->conf[$imageRenderObj."."]["file"] = "uploads/pics/".$val;
> } else {
> $this->conf[$imageRenderObj."."]["file"] = 
> $this->conf["noImageAvailable"];
> }
> $theImgCode.=$this->cObj->IMAGE($this->conf[$imageRenderObj."."]);
>
> -------
>
> for image 2
> $theImgCode2="";
> $val = $imgs[1];
>
> if ($val) {
> $this->conf[$imageRenderObj."."]["file"] = "uploads/pics/".$val;
> } else {
> $this->conf[$imageRenderObj."."]["file"] = 
> $this->conf["noImageAvailable"];
> }
> $theImgCode2.=$this->cObj->IMAGE($this->conf[$imageRenderObj."."]);
>
> and so on....
>
> hth alex 





More information about the TYPO3-project-tt-products mailing list