g2 beta 4 - image resize but download fullsize

samms71

Joined: 2005-07-31
Posts: 2
Posted: Sun, 2005-07-31 04:40

HI all, i'm running beta 4 and it works great but i have a question. how do accomplish the following. if i upload a 2000x1500 picture to gallery, when a user view it in an album, i want it resize to 800x600 but when they save/download the image, i want them to download the 2000x1500 image?

i've gotten the resized images in gallery to work so that when you view an album you see the 800x600 image but when you save the image, it downloads teh 800x600 image, not the fullsize one. gallery 1.5/1.4 would let you download the fullsize one. it seems the problem is that gallery 2.0 is creating resize images and showing them whereas 1.5/1.4 used to resize the image w/ html code.

how do i get this functionality?
thanks,

Gallery URL (optional):
Gallery version: 2.0 beta 4
Webserver (with version): apache 1.3.33
Datatabase (with version): mysql 4.1.9
PHP version (eg 4.2.1): 4.3.10
phpinfo URL (optional):
Graphics Toolkit(s): imagemagick
Operating system: winxp
Web browser/version: firefox 1.0.6
G1 version (for migration bugs):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-07-31 08:21

if you give the user view original version permission (included in view all versions), they can just click on the full resolution photo to view it.

but i guess you want them to:
a) not be able to view full size (correct?)
b) but be able to download fullsize
c) and it should always download the original

is that correct?

 
samms71

Joined: 2005-07-31
Posts: 2
Posted: Mon, 2005-08-01 06:15

hi valiant,

you are correct. basically, alot of the people looking at my albums have their monitors set to 1024x768 or 800x600 so i want the picture to fit on their screens when they view it in gallery but if they want to save the picture for whatever reason (desktop, printing it locally) i want the full res version to be downloaded.

thanks,
sams

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-08-01 07:05

then i guess you don't need a)
you can still offer to view the original, as long as the photo pages don't default to the original.
a) and b) are contradicting in G2 (you'd have to change some stuff in the source code, maybe add new permissions).

c) makes sense i guess, or at least for a lot of users. all i can offer at the moment is that you create an feature request (RFE) on http://sf.net/projects/gallery/ such that the idea doesn't get forgotten.
until you see something like that in G2, you'll have to code the changes yourself, because we are contentrating at the moment on releasing the final product, that is, stability and documentation.

 
super_kev

Joined: 2008-10-27
Posts: 11
Posted: Mon, 2008-10-27 19:20

This thread is several years old, but was this implemented in the current version of Galley? I have a similar question, as I'm looking to implement Gallery 2 for a large university slide database. This is what I'm looking to do:

1) Make the user view images at a default specified size (like samms71 was saying), say 800x600.
2) Allow the user to blow up the image if he chooses (view at 800x600, but see it at half size or full size if they want).
3) Give two download button options: Full/Print size (like 3000x2000), and a specified size (1024x768, etc.).

Thanks.