Jump to content

Search the Community

Showing results for tags 'image gallery'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hi Guys, I'm back with another question. Figured I would ask for another set of eyes on this one. Basically, the categories are being created if a new gallery is added through the CMS but the images are not showing up. Any help would be great! <?php //newgallery is the name of the field in the CMS whic is a repeater //gallery_title is the name of the field in the CMS which is inside the repeater field for the category title. //images1 is the name of the field in the CMS which is inside the repeater field for the images gallery //THIS IS WHERE THE TITLES ARE BEING DISPLAYED FOR A CERTAIN CATEGORY THE USER MAKES IN THE CMS FOR THE GALLERY foreach($page->newgallery as $new_gallery) { echo " <section class=''> <p class='title' data-section-title><a href='#panel1'>{$new_gallery->gallery_title}</a></p> <div class='content' data-section-content> <ul class='clearing-thumbs' data-clearing>"; //The issue is below!!!!!!!!!! //THIS IS WHERE THE IMAGES ARE SUPPOSED TO DISPLAY FOR A CREATED CATEGORY, UNDER ITS OWN IMAGE GALLERY, WHICH IS ALSO TIED TO THE REPEATER FIELD if (count($page->$new_gallery->images1)) { // randomize some images $images1 = $page->images1->getRandom(100); foreach($images1 as $image1) { $thumbnail1 = $image1->size(118,112); echo "<li><a href='{$image1->url}'><img class='photo' src='{$thumbnail1->url}' style='border:1px #dadada solid;' alt='{$image1->description}' /></a></li> "; } } echo"</ul> </div> </section>"; } ?>
×
×
  • Create New...