Improper way to show full size of jpg?

I recently used this form to show the full version of a jpg when clicking on its thumbnail:

<a target=“_blank” href=“/pictures/2013-fame/1.jpg”><img style=“margin: 0.5em; float: left” alt=“” src=“/pictures/2013-fame/thumb-1.jpg” /></a>

I was surprised that a window opened to show the full jpg. Is this the “wrong” way to do it? Should I put putting each jpg on a separate html page? This was done in a hurry because I had 33 jpgs on the page to do.

Hi,
You can use a lightbox script for a nice effect (just look on the net), or let it as it is, it is not a wrong way, but not professional.

<a target=“_blank” href=“/pictures/2013-fame/1.jpg”><img style=“margin: 0.5em; float: left” alt=“” src=“/pictures/2013-fame/thumb-1.jpg” /></a>

It can be used as it is the most reliable way to do it. The most safer and convinient optimization takes places here only

It’ s not professional-looking. Unfortunately, this is in a CMS field, so I’m not sure I have a lot of options.

Hi,

As MarPlo says, I would use a Lightbox script for this.
There are plenty available for WordPress if that is what you are using.
This is the one I use: http://wordpress.org/plugins/wp-jquery-lightbox/