Solved

Image is resized, but where is the code?

Posted on 2014-04-16
5
185 Views
Last Modified: 2014-04-16
Hi, Please see: pamstevensonjewellery.com

The first piece of jewellery, Chucks o Crystal... the photo ishows dimensions: 800px × 1,107px (scaled to 125px × 174px)

I want it to be scaled to 253x190, but I can't find the place where it's scaled down. It must be a percentage, because I've searched screen.css, lightbox.css, and the associated js files and can't find wither of those dimensions( 125px or 174px).

Can you help me rescale the photos to what I require? Thanks!
0
Comment
Question by:mel200
  • 3
5 Comments
 
LVL 16

Expert Comment

by:rbudj
ID: 40004192
Are you using a dynamic image resizing? If you view the source, your image has the dimensions: width="253" height="190" although it displays smaller. If you remove the lightbox link, does that make any difference?
0
 

Author Comment

by:mel200
ID: 40004336
If I comment out screen.css and lightbox.css, the dimensions change to: 800px × 1,107px (scaled to 253px × 350px), which is fine, I'll take that. But then I lose the lightbox effect, obviously.

So the dimension change is in one of those two css files, and it must be a percentage, Can you help me find it?
0
 
LVL 43

Accepted Solution

by:
Chris Stanyon earned 500 total points
ID: 40004531
Your image has a class of example-image which has it's width set in screen.css - line 313:

.example-image {
    border-radius: 5px;
    width: 7rem;
}

Open in new window

A rem is a unit of measurement introduced to HTML5 - similar to an em.
0
 

Author Comment

by:mel200
ID: 40004619
ok, thanks!!
0
 

Author Closing Comment

by:mel200
ID: 40004628
Thanks so much!
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses how to create an extensible mechanism for linked drop downs.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question