Default image size and "HD" - large image

Join us in effort to make Admiror Gallery better. Submit your feature proposals and reviews, we are interested to hear your opinion.
Post Reply
Message
Author
mko
Maegashira
Maegashira
Posts: 12
Joined: Mon Apr 11, 2011 7:35 pm

Default image size and "HD" - large image

#1 Post by mko »

Next idea:
Option to define "default/fullsize" image dimensions, and HD-large image.
"Fullsize" (eg. 800px x 600px) would be used as a default image in popups. HD-large could be "bigger image" option like in http://www.no-margin-for-errors.com/pro ... box-clone/, witch shows [x] button to display image in fullsize when it's bigger than browser window.

Admiror Gallery 5 - Fundraising Campaign

User avatar
kekeljevic
Developer
Developer
Posts: 445
Joined: Tue Aug 17, 2010 2:38 pm
Location: Novi Sad, Serbia
Contact:

Re: Default image size and "HD" - large image

#2 Post by kekeljevic »

Forget on HD images :-) ... only if some new GD Library becames a standard one.

AG is based on the most common graphic library on PHP servers - GD Library. This library is build to works with standard web formats. GD Library is used for thumbnails creation.

Weak spots of GD Library are large images. Standard image from digital camera easy took over 128MB of server resources and than server usually blocks GD Library execution. The real HD image would be mission impossible for GD.

But this prettyphoto is quite elegant. It would be nice as Popup Template :-)

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Default image size and "HD" - large image

#3 Post by Vasiljevski »

We used prettyphoto in v2 of the gallery, and we can rework it a little to work on V3.
The script in fact loads the whole image and then scales it to fix the users browsers viewpoint. This is a good thing when opening images on mobile devices.

But if you have very large images, thumbnail creation is the problem. Maybe with ImageMagic this can be solved, but I'm not so familiar with it.
Help Admiror Gallery become even better,
give us a review on JED

Post Reply