Thursday 07 June 2012 2:53:50 pm - 5 replies
How about creating a photo "album" class that shows the first image from every gallery created under it.
Like the current gallery class but a level up from it.
I've looked at the nextgen wordpress plugin and it has this extra level of structure.
I think it's something that will make ezp more attractive to artists & photographers.
Thursday 07 June 2012 10:00:02 pm
It's not in the product, but it's not too complex to do:
- create custom class "photo album" in admin
- in override.ini.append.php, set the "photo album" class to use a custom template of your worn for display
- code the new template, showing image from 1st child
- add rule for smart viewcache expiry in viewcache.ini so that when editing a picture the viewcache for photoalbum is expired if any is found 2 levels up in the content tree
Let's say 2 to 4 hours for a competent eZ developer...
You must be logged in to post messages in this topic!