?
Solved

Image is resized, but where is the code?

Posted on 2014-04-16
5
Medium Priority
?
204 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 45

Accepted Solution

by:
Chris Stanyon earned 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

850 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