Topic Closed

I just started to use gpEasy and I'm liking it a lot.

I've been looking into the source code and I'm trying to include a option to regenerate/generate the thumbnails of a gallery page.

My idea is to upload photos zipped and than generate the thumbs, I think this would be faster when having a lot of images, BTW does galleries have pagination?

I found the method MenuSkeleton but I need some directions on the proper way to do that. Can somebody help me?

Thanks and congratulations for the good job.

6 years ago#7095

Josh S.
2K Posts
283K Downloads
16 Themes
18 Plugins

BTW does galleries have pagination?

Galleries do not have pagination, not a bad idea though.

For generating thumbnails, use this function:

admin_uploaded::CreateThumbnail($original);

$original is the file path to the full size image

6 years ago#7100

Thanks Josh.

I changed my mind, since I can upload several images at once I see no point in send it zipped.

I think the upload system you did is very good and fast, so what I did was change the filename of uploaded images to use the file hash, this way I can prevent duplicated images even with other name. 

Regard the pagination I will do it later and let you know.

6 years ago#7105

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

HH-Support

Company located in T├│rshavn, Faroe Islands. * Webpage Design * Consultant & Provider of a wide range of programs for visually impaired and dyslextics.

Find out more about our Provider Spotlight

Log In

  Register