[request] Thumbnail generator

Post your work in progress addons and get feedback

Post » Mon Mar 24, 2014 3:47 pm

Hello to all, it is possible to create a plugin / behaviour for construct 2, who generate pictures tumbnails, like a gallery from pictures in a folder??


thanks to all for your interest
:D :P
B
37
S
15
G
7
Posts: 1,680
Reputation: 9,612

Post » Mon Mar 24, 2014 6:25 pm

You can just resize the larger images. Is there a specific reason you need thumbnails?
B
77
S
43
G
24
Posts: 525
Reputation: 20,580

Post » Mon Mar 24, 2014 6:43 pm

i would like to have that kind of plugin because ido my new re-designed website with construct 2 :D its work perfectly, but need just that for finish my work.
also i know its feseable with ajax or something like that someone helped me in the past with something like that :D
B
37
S
15
G
7
Posts: 1,680
Reputation: 9,612

Post » Tue Mar 25, 2014 3:17 am

@imothep85

I though the thumbnails were created by server when image imported, it could reduce the traffic of network by sending small images.
If you try to create thumbnail in C2 (client side), all you need is downloading origin image, then resizing. "action:get image from uri" at sprite is enough to do that.
B
108
S
26
G
267
Posts: 4,456
Reputation: 149,747

Post » Tue Mar 25, 2014 8:16 am

for exampel if i create an "img" folder wehere i put images, how ican tell to construct 2 to generate the thumbnails from the folder hosted on the server?

thanks
B
37
S
15
G
7
Posts: 1,680
Reputation: 9,612

Post » Tue Mar 25, 2014 9:03 am

@imothep85

You need to get the path of each image.
You might need to have a text file which list all of image paths.
B
108
S
26
G
267
Posts: 4,456
Reputation: 149,747


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests