WordPress.org

Ready to get started?Download WordPress

Forums

Mantra
slider picture problem (7 posts)

  1. exipo3
    Member
    Posted 1 year ago #

    Hi. I have problem with pictures in slider. I use custom slides. When switching the slides, picture is deforms. You can watch here: . And why if i use the slide size for example 700x250px and i upload picture 100x100px that the picture is outstretched to slide dimension 700x250px???

  2. exipo3
    Member
    Posted 1 year ago #

  3. JeroSystems
    Member
    Posted 1 year ago #

    Images uploaded for the slider should be exact size, so if your container is 700*250px, so should your image.

    You should probably insert the 100*100px image in a transparent container that is 700*250px and upload it as is.

  4. exipo3
    Member
    Posted 1 year ago #

    thx Jero with picture that is solution. But i still have problem with deform pictures.... Yesterday was all good now is problem. I think problem start after update mantra on version 1.9.9.6.

  5. JeroSystems
    Member
    Posted 1 year ago #

    Did you modify the admin/defaults.php file after updating?

    "mantra_side" => "2cSr",
    "mantra_dimselect" => 'Absolute',
    "mantra_sidewidth" => 800,
    "mantra_sidebar" => 250,
    "mantra_sidewidthRel" => 60,
    "mantra_sidebarRel" => 20,
    "mantra_hheight" => "75",
    "mantra_hcenter" => "",
  6. exipo3
    Member
    Posted 1 year ago #

    No i didnt.

  7. JeroSystems
    Member
    Posted 1 year ago #

    Try changing "mantra_sidewidth" => 800 to 700 and see if that helps.

    You can find the file under Appearance > Editor > defaults.php.

    Nevermind, just had a look at your site. Keep in mind that the 700px is for the container area, which includes the grey border around your image. That border by default is 10px.

    Instal firebug for Firefox and inspect the element to test optimal picture resolution.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.