Solved

Image is resized, but where is the code?

Posted on 2014-04-16
5
183 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Read about why website design really matters in today's demanding market.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now