where is the image location for other size

hdeng419

Joined: 2005-11-19
Posts: 6
Posted: Fri, 2006-02-03 14:30

Hi,

I have difficulty to locate the image files. My site gallery has set up 4 sizes for each uploaded image. I can find the original file located under gallery2_data/albums/hdeng/west scence, but what's the location for size 640x480,1000x750,1800x1350 and the thumbnail?
From the web page's source code, it points to url likes http://localhost/gallery2/v/hdeng/west+scene/IMG_3887.jpg.html, http://localhost/gallery2/v/hdeng/west+scene/IMG_3886.jpg.html, http://localhost/gallery2/d/54-3/IMG_3883.jpg. I couldn't find these file dir for those iamge files, so I'm assuming they (image files) are generated on the fly? How resized images being stored? Can anybody point me to the right direction?

Thanks in advance.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-02-03 15:23

g2data/cache/derivatives as .dat files, not human readable.

all files are read and outputted by Gallery 2, that's the image firewall feature of G2.

topic moved to the support forums.

 
hdeng419

Joined: 2005-11-19
Posts: 6
Posted: Fri, 2006-02-03 16:03

Thanks, Valiant. Naturally it comes to my second question. Is there a plugin/third party module that generates the resized image files in gif or jpg format so can be used easily in other program. It would make gallery2 more friendly for embedding in other program.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-02-03 20:12

these .dat files are actually .jpg, .gif and .png files, just with a .dat in their filename.