Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Scale down large images (like Imageshack)  (Read 4101 times)

0 Members and 1 Guest are viewing this topic.

dub_doctor

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Scale down large images (like Imageshack)
« on: September 06, 2005, 05:41:46 am »

One thing I like about Imageshack is that when you view a full sized image that is larger than the screen resolution it automatically scales down the image size to fit the screen. you can then click this scaled image to view the full sized image. Is it possible to implement this in Coppermine? At the moment when you view a full image of say 2560 x 1696 pixels size you get an image far bigger than the screen, which seems a tad awkward.

Here is an example of what I mean (I'm trying to move an Imageshack album to Coppermine)
Image shack example: http://img286.imageshack.us/img_viewer_framed.php?loc=img286&image=p73106877jt.jpg&gal=img286/8403/ganoush9bp.jpg  (Click "See Full Size Image")
Coppermine: http://www.jpaarons.net/annalena/album/displayimage.php?album=lastup&cat=0&pos=6 (Just click on image)
« Last Edit: September 06, 2005, 05:54:38 am by kegobeer »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Scale down large images (like Imageshack)
« Reply #1 on: September 06, 2005, 05:54:26 am »

I see no valid reason to add another intermediate image - Coppermine already has thumbnails, intermediate images, and the original fullsize images.

Request denied.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

dub_doctor

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Scale down large images (like Imageshack)
« Reply #2 on: September 06, 2005, 06:20:00 am »

Maybe you didn't understand me. I'm not requesting another intermediate image. What I am requesting is the ability for the full sized image to be automatically scaled down to the full-screen resolution if it is larger than that resolution. This doesn't require an intermediate image - it just requires a bit of javascript that scales the image down 9this is how Imageshack does it, i think).
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Scale down large images (like Imageshack)
« Reply #3 on: September 06, 2005, 06:23:36 am »

If you come up with such a mod, feel free to post it.  This isn't a feature that will go into a future version of Coppermine.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

dub_doctor

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Scale down large images (like Imageshack)
« Reply #4 on: September 06, 2005, 06:29:09 am »

Thanks for the quick reply!

I don't think I'll try to do this mod myself - I'm not too hot with this sort of thing. But I'd love it if someone else could implement it. I'm sure it wouldn't be too hard to modify the script that Imageshack uses for this to work in Coppermine. Any takers?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Scale down large images (like Imageshack)
« Reply #5 on: September 06, 2005, 06:34:30 am »

As this is the features request board, requesting a mod is inappropriate.  Please post your request on the freelancers/paid help board.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

dub_doctor

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Scale down large images (like Imageshack)
« Reply #6 on: September 06, 2005, 07:05:37 am »

Thanks kegobeer. Sorry to be a newbie pain.

I think I've found a good solution in the mods section: http://forum.coppermine-gallery.net/index.php?topic=19425.0
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.