Need to display 4 images in the front end

admin's picture

Hi Guys,

I used node type to form the image gallery . In this gallery everything is working fine. But i want to display only first four images .Then the user clicks the view more button i need to display the all the photos. How i can display only for photos in the listing.Any idea how to do ?? If u know please reply it.

Thank you.

Waiting for your reply.

khalidahmed_sk's picture

Hello Admin, Which module ur

Hello Admin,

Which module ur using for images.

Have a look on Album photo module or Image module.

Thanks
Khalid Ahmed. G.M

admin's picture

CCK, With Content Type

I'm using CCK fields to upload the images . How i can list only 2 or 4 images,After they click more images then i need to display all the images.

amburi's picture

Add a flag with each picture at upload time.

Hi Admin,

While creating content type you may keep/create a flag/checkbox according to each picture, so that when you/user upload pictures may check that flag/checkbox. The picture accordingly which checkboxes are checked will displayed firstly and after clicking all pictures will displayed.

This suggestion is based on my idea, but have no practical experience. If the suggestion work or didn't work please make me inform. And if there is any other solution please do the same.

Regards,
Amburi Roy.

khalidahmed_sk's picture

Hey

I think it will be good to use Album photo or Image Module, Becuase these modules will provide this type of facility. Just have a look.

Regards
Khalid Ahmed