Jump to content

Create preset fields that can be added intuitive in templates/sites


Atlasfreeman
 Share

Recommended Posts

Hi

I am looking for an image field that can be added and keep adding so that you can control the fields from back end and therefore have the same template but the output of field will be diffrent.

What i am trying to do is a portfolio for a photographer and i want to give him 2 to 3 presets on how he can upload his images. For example one preset  with fullscreen image or one with 2 beside each other. He needs to be able to add these as he wishes for each side. Is this possible or do any of you have a suggestion on how to give the photographer a nice intuitive way to do this?

I have seen this in wordpress but have no idea how to do this in process wire is this possible. 

Link to comment
Share on other sites

Hi,

Check utilities from @Robin S there is a lot of gems:

https://github.com/Toutouwai/RepeaterImages

59389850-98034100-8dc3-11e9-8810-1296a4b

And give a read on those articles:

https://processwire.dev/processwire-responsive-images/
 

https://processwire.dev/building-display-options-processwire/ (Example 2)

For the twig things, its easy to convert it to standard html markup.

 

Edited by flydev
Gems
  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...