Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I think I know the answer for this question allready, but just as curious I am, I'll ask it anyways.

I'm running a webshop which products come with a csv file. I can import all the objectsng without any trouble, the only thing is that images and thumbnail locations are not exported with the the database dump. (it's never perfect heh) You might say, do it manually then, that's what I did in the first place, but after 200 products and RSI, I gave it up and looked for a better more efficient way to do this.

I have asked my distributer and I can use their images for my own goals without any having copyright problems.

When I look at the location of the images, the url looks like this:

../img/i.php?type=i&file=1250757780.jpg

Does anyone have a idea how this problem can be tackled?

share|improve this question
    
This doesn't tell us the location of the images. It just tells us the name of the image file (1250757780.jpg). Obviously, the PHP script called i.php knows where to find it. –  pavium Dec 27 '09 at 11:02

2 Answers 2

up vote 0 down vote accepted

Your best bet would be to change the way the database dumps the info and add in image location.

share|improve this answer

There are only two possibilities as to what this php script does:

  1. It returns the image that it reads itself from the disk,
  2. It redirects the browser request.

For the first case, retrieving the images is a lost cause.
However, in the second case you may strike it lucky, as all the images might be stocked in the same directory.

To find out if you're in the second case, when some image is finally displayed, right-click on it and regard its Properties. If you now see a fixed location in the Location field, then you're in luck.

share|improve this answer
1  
Right clicking and showing properties still will most likely show the '../img/i.php?type=i&file=1250757780.jpg' address. –  MrStatic Dec 27 '09 at 11:34
    
it looks indeed like that –  Chris Dec 27 '09 at 12:02
    
Then it's indeed a lost cause. –  harrymc Dec 27 '09 at 12:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.