Problem with random images showing up too small.
I am new to web development.
I have built a site from scrathc and have got a bit of JS from various websites.
The website is basic but it does the job and I'm happy with it.
However, I think it is only on IE and firefox, when flicking through pictures, some pictures load up really small (like thumbnail size). When yo refresh the page, it loads up fine.
Please can someone help me? I have tried my best but it's not good enough. I'm struggling to be honest.
Many Thanks in advance.
We can't help you without being able to see the code for the page. Either post the code or post a URL where we can see it.
Like rtrethewey said, we can help you without any snippet of your code, but my guess will be that one of your script setups width/height of that img element and that's why it is displayed smaller than it should be
Sorry.. Cant believe I didn't give the URL.
I also thought it may be something to do with the height / width, but when you hit refresh, it will laod fine.
Thanks for your patience.
It is width and height set by your plugin for polaroid
It is the same plugin for all the pages on there that show images.
Originally Posted by maurycy
If you see a picture go to thumbnail size, if you refresh the page, it will be fine again.. Cant figure it out.
Can the length / width of an image cause it to intermittantly show up as a thumbnail size?
I don't know if it will help or not but you might try a CSS solution setting min-Height and/or min-Width.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)