[Possible Bug] IMAGES DOWNLOAD

Topics: Developer Forum, Project Management Forum, User Forum
Jan 23, 2013 at 2:25 PM

Hi,


I have been requesting help on direct link and images for the past few weeks now but unfortunate to have no responses, so I am trying to use set path method.

I have two sets of codes running to test this:

First Code
uses the magento frame work to grab the information I want, and echo it, in this case it's image URLS.This works fine and I get all Image URLS


Second Code:
Using the Magento Framework & PHPExcel, I would like to do the same thing, now when I enter this into a cell, again works fine links come perfectly.

Problem, When setpath method is used instead of simply adding into the cell I keep getting file not found errors.

e.g.
objDrawing->setPath('../../media/catalog/product/cache/1/thumbnail/75x75/9df78eab33525d08d6e5fb8d27136e95/'.$_product->getthumbnail());

I don't understand why when the links are excecuted fine and are accountable, and when I get the error on the broswer I can follow the link to the image no problem.

I'm trying to switch images so i can reduce file size by around 80% But I think I have found a Bug.

 

Jan 23, 2013 at 4:20 PM

Finally resolved!