eZ Community » Forums » Suggestions » Photo "Album" class
expandshrink

Photo "Album" class

Photo "Album" class

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...

Friday 08 June 2012 4:28:43 pm

I didn't think it was that hard to do but it's beyond my own knowledge.

Would you like to pitch for the job? happy.gif Emoticon

Friday 20 July 2012 10:49:32 pm

Bump (for a ez developer)

Sunday 21 October 2012 10:59:42 pm

I will happily pay for this album class and share it with the ezp world!

Contact me via my profile

Monday 31 December 2012 12:43:04 pm

Have you done this Neo ?

If not , Can you explain more of what you are looking for ?

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from