Jump to content

Images Field as Grid


Recommended Posts

Hi Pw

i am trying to
build a module to display the images list as grid.

i have a situtation where images field has 100 images

and it s hard to order sow many images in a list

so i want the images to be in grid instead of list

so now is


 

1 image

2 image

3 image

4 image

5 image

...

and i want

1image 2image 3image

4image 5image 6 image ..

i have figured
that if i delete


 

the axis: 'y',
inside wire/modules/Inputfield/InputfieldFile/InputfieldFile.js


 

and add this css

.InputfieldFile.InputfieldImage.ui-widget
{

display:inline-block ;

width: 32% ;

padding-right:10px ;

margin-bottom:25px ;

vertical-align:top ;

}

it works


 

so i want to
build a module with this attributes

what hook i have to use?

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...