I am creating a custom module for user specific image gallery for my website. I have created a content type and added an image field for uploading multiple images. Now I want to create an image gallery with jcarousel type slideshow. But I am not able to retrieve the images uploaded by a particular user and show them on their profile page creating a gallery tab
closed as too broad by kiamlaluno♦ Oct 24 at 17:12
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
I did it for this cg related image gallery (cgart.ir).
to display user created images on his/her profile I did these steps:
- create a views named
- create a display within
CONTEXTUAL FILTERS > (content: Author uid)to it
user-profile.tpl.phpand add below codes to it:
print views_embed_view('artworks', 'page_1', $account->uid);