Page 2 of 2
Re: Upload images front-end using Cooliris
Posted: 14 Sep 2010, 23:20
by Jan
Hi, sorry I don't understand?
Re: Upload images front-end using Cooliris
Posted: 17 Sep 2010, 11:04
by BeLakor
The problem is this:
When the administrator upload a new image, the image is not display in Cooliris Gallery.
I have to access in back-end, select the category and the clic button "Cooliris" to generate RSS files.
Why? It isn't possible to attach the generation of RSS files during the upload of a new image?
So i try to attach the method piclens($cids) in OnUploadSubmitPG().
You have tell me that method OnUploadSubmitPG() is in
administrator\components\com_phocagallery\libraries\phocagallery\render\renderfront.php
but it not work...
Can you help me?
BeLakor
Re: Upload images front-end using Cooliris
Posted: 20 Sep 2010, 15:48
by Jan
Hi,
Why? It isn't possible to attach the generation of RSS files during the upload of a new image?
This is explained in the forum, creating new RSS after every image upload can slow down or stop server as this can be server performance demanding
You have tell me that method OnUploadSubmitPG() is in
administrator\components\com_phocagallery\libraries\phocagallery\render\renderfront.php
Yes, but I don't have any experience with all the code it must be coded to work (Phoca Gallery has over 70.000 lines of codes and there are different dependencies)
You cannot only add some $id somewhere and expect the whole feature you need will be working.
- if user will upload image, it must be opened the RSS (xml) file and added there an item which was loaded
- but if you do it with whole category, you only overwrite all the RSS file with new items, if you want to do with only one image, you need to open this file, check which files are already there, and add or updated the uploaded image there and then save this files (and this is very difficult - working with file - and can cause slowing down the server performance). With such behaviour I have no experiences so cannot give any advice there
Jan
Re: Upload images front-end using Cooliris
Posted: 03 Feb 2014, 11:05
by arthurf
Hi Jan
I am wondering if this situation is still the same and it requires a manual recreation of the Cooliris RSS feed to show new images added to a category. I have a community site and I am using Phoca Gallery to get the visitors to the site to upload their own images of the community then display them on the Cooliris wall.
If it still requires manual intervention is there a way to set an automated process to recreate the RSS feed weekly or every few days ike a cron job or similar.
I am sure you understand it is not practical for someone to manually go into the backend every few days and recreate the RSS feed.
Re: Upload images front-end using Cooliris
Posted: 05 Feb 2014, 01:59
by Jan
Hi, still the same situation.
Cron jobs, etc, this needs to be customized directly for the server.
The same with the creating an RSS by every upload of the image. This can have memory impacts on the server so this needs to be directly customized for the server

Re: Upload images front-end using Cooliris
Posted: 06 Feb 2014, 13:13
by arthurf
Thanks for promt reply as always, I will look into it as I can't commit to manually rebuilding the feeds.