I am using the following code in a MVC3 program
var images = "\\\\XXXX\\XX\\Files\\" + photo.Thumbnail;
<a href = "@images" class="grouped-photos" rel="prettyPhoto"> <img src = "@images" alt="@photo.Filename" /> </a>
It will only display a image type “PNG”. There are two images in each folder. One is the thumbnail the other is the full size picture. If I switch to the full size images
var images = "\\\\XXXX\\XX\\Files\\" + photo.FullImage;
then it displays all image types (PNG, BMP,JPG, etc) and the href part will popup the fullsize image”. The only difference I can see is
photo.Thumbnail = Thumbnail.ImageXXX.jpg (.bmp, .png, etc)
photo.FullImage = ImageXXX.jpg (.bmp, .png, etc)
I was wondering if the problem is the fat that the Thumbnail image name has a period (.) and the Fullsize image does not. Then too if the Thumbnail image is a .PNG then will display.
I found a solution. From what I was told this will work
Another developer told me to switch to the fullsize image and then set the width and height parameters to reflect the thumbnail size. Now it displays all the images and in the correct size too.