Search…

X3 Photo Gallery Support Forums

Search…
 
Watts
Experienced
Topic Author
Posts: 30
Joined: 28 Oct 2006, 05:14

Cron Cron TAB

24 Jul 2010, 06:02

Hello,
is possibility to use an cron job tab to generate automaticly the thumbnails and gallery ? Regards
 
User avatar
carter2
Experienced
Posts: 206
Joined: 13 Oct 2008, 13:00

24 Jul 2010, 06:55

You want to crate thumbnails at a specific time?
 
Watts
Experienced
Topic Author
Posts: 30
Joined: 28 Oct 2006, 05:14

24 Jul 2010, 08:53

carter2 wrote:You want to crate thumbnails at a specific time?
Yes but automaticly with cron tab job ?
an idea ?
regards
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

24 Jul 2010, 23:19

Why not just create them with the PHP interface once they are uploaded? Can hardly take a long time ...
 
Watts
Experienced
Topic Author
Posts: 30
Joined: 28 Oct 2006, 05:14

25 Jul 2010, 12:14

mjau-mjau wrote:Why not just create them with the PHP interface once they are uploaded? Can hardly take a long time ...
Hello, because i don't want to click "some buttons" to do that, i prefer automaticly...
An idea also ?
Regards
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

26 Jul 2010, 05:45

Watts wrote:Hello, because i don't want to click "some buttons" to do that, i prefer automaticly...
An idea also ?
Regards
Thumbnails are created automatically if you are using the imagevue admin uploader. If you are using FTP, then the admin will not create thumbnails automatically for you of course until you do it from the admin ...

In Imagevue V1, we used to have frontend-creation of thumbnails, but there were some problems:

- It slows down the gallery a lot.
- It creates a strain on server.
- If gallery owner did not set permissions, it would set a tremendous strain on server as thumbnails would need to be created for each visitor.
- Too many problems with thumbnails on frontend, and is better they are handled through the backend from the gallery owner before visitors encounter them.

As for an independent "cron" job/task for linux servers, I doubt this is something we will be looking into immediately from our side of things, but it has been noted ... Maybe someone wants to create something like that.
 
Watts
Experienced
Topic Author
Posts: 30
Joined: 28 Oct 2006, 05:14

27 Jul 2010, 09:32

mjau-mjau wrote:
Watts wrote:Hello, because i don't want to click "some buttons" to do that, i prefer automaticly...
An idea also ?
Regards
Thumbnails are created automatically if you are using the imagevue admin uploader. If you are using FTP, then the admin will not create thumbnails automatically for you of course until you do it from the admin ...

In Imagevue V1, we used to have frontend-creation of thumbnails, but there were some problems:

- It slows down the gallery a lot.
- It creates a strain on server.
- If gallery owner did not set permissions, it would set a tremendous strain on server as thumbnails would need to be created for each visitor.
- Too many problems with thumbnails on frontend, and is better they are handled through the backend from the gallery owner before visitors encounter them.

As for an independent "cron" job/task for linux servers, I doubt this is something we will be looking into immediately from our side of things, but it has been noted ... Maybe someone wants to create something like that.
Thank you !
 
Watts
Experienced
Topic Author
Posts: 30
Joined: 28 Oct 2006, 05:14

14 Sep 2010, 11:28

Watts wrote:
mjau-mjau wrote:
Watts wrote:Hello, because i don't want to click "some buttons" to do that, i prefer automaticly...
An idea also ?
Regards
Thumbnails are created automatically if you are using the imagevue admin uploader. If you are using FTP, then the admin will not create thumbnails automatically for you of course until you do it from the admin ...

In Imagevue V1, we used to have frontend-creation of thumbnails, but there were some problems:

- It slows down the gallery a lot.
- It creates a strain on server.
- If gallery owner did not set permissions, it would set a tremendous strain on server as thumbnails would need to be created for each visitor.
- Too many problems with thumbnails on frontend, and is better they are handled through the backend from the gallery owner before visitors encounter them.

As for an independent "cron" job/task for linux servers, I doubt this is something we will be looking into immediately from our side of things, but it has been noted ... Maybe someone wants to create something like that.
Thank you !
---
"Maybe someone wants to create something like that ":
I want !!!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re:

02 Oct 2010, 12:58

Watts wrote:"Maybe someone wants to create something like that ":
I want !!!
Basically, you are asking for a PHP file that can be executed from accessing a single link I guess? The only problem being that this file of course is globally accessible, and visitors will be able to run it (if they are aware of it). Just saying, because it would be very resource-intensive.

You could of course password-protect it, but then there is not much difference from logging in to the admin itself.

You can already run the following link to create all uncreated thumbnails:
Code
{yourgallery}/imagevue/index.php?a=recreatethumbs&path=content%2F&miss=1
However, it would require being logged in to admin.

Sorry for the late reply!
 
User avatar
Patrick_D1985
Experienced
Posts: 149
Joined: 19 Jul 2008, 06:26

Re: Cron Cron TAB

02 Oct 2010, 14:35

You could probably use CURL for the logging in on the url to automate it based on the link Karl supplied.
Not tested... but shouldnt be any problem.

For the code to build it up; Just use Google :)

Good advice though to put it somewhere out of 'public html". as Karl sorta pointed out.
PFSquad : Party Freakz Online
Owner / Webmaster / Administrator / Head of Photography
Website : http://pfsquad.nu