Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Different approach to images

$
0
0

Replies: 0

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?


Viewing all articles
Browse latest Browse all 59525

Trending Articles