• Hello, I;ve been developing a website for a while now and one of the last things I;d like to do is allow users to click an image (that my client will have uploaded) so that the image enlarges in a lightbox.

    The website can be found at https://www.saylescreen.local-creative.co.uk/clients/boztas-orhan/

    The images are pulled in from the client’s admin area using the following code –

    if(types_render_field('client-image', array(‘raw’ => ‘false’,‘show_name’ => ‘false’, ‘size’ => ‘thumbnail’))) {
    					echo('<div id="images-client">');
    						echo('<h3>Images</h3>');
    								echo(types_render_field('client-image', array(‘raw’ => ‘false’,‘show_name’ => ‘false’, ‘size’ => ‘thumbnail’)));
    		 		echo('</div>');
    		}

    How would I go about adding a lightbox feature to all of the images pulled into this div?

    Thanks in advance for any help you can offer

    Tom

  • The topic ‘Adding lightbox feature to images contained within div’ is closed to new replies.