Different approach to images
-
Hello, I’m using a different approach to images. Placing a camera thumbnail beside items which have a featured image. Then clicking the camera opens the full image in a lightbox.
The problem I’m having is that many of the menu items are showing a 600×600 image instead of full size. I desire full size. When I pick the image for each item, I’m not given a choice of size so I’m confused as to why this is happening. I’ve confirmed in my file system that multiple images sizes exist.
BTW, I have achieved this effect by modifying the title.php and image.php template items. Blanking out image.php and adding this code to title.php:
<?php if ( $this->image ) : ?><a href="<?php echo esc_attr( $this->image ); ?>" class="et_pb_lightbox_image"><img src="...camera-icon.png..." alt="" width="20" height="15" /></a><?php endif; ?>
Any suggestions?
- This topic was modified 5 years, 4 months ago by .
- This topic was modified 5 years, 4 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Different approach to images’ is closed to new replies.