Welcome, Guest
Username Password: Remember me

Image borders not showing.
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Image borders not showing.

Image borders not showing. 13 years, 6 months ago #4341

  • login418
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
My photos are no longer showing a border around them. I'm using a simple code:
"style="border: medium solid #212121;"
but nothing shows. Is there a fix or work around for this?

Re: Image borders not showing. 13 years, 6 months ago #4352

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
We strip style attribute of images to fix images having e.g. "padding: 25px" that looks well on desktop, but ugly on mobiles. Maybe in next versions it will be either optional, or smart to remove margin/padding only.

Re: Image borders not showing. 13 years, 6 months ago #4354

  • login418
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
No work-around or css fix for this? I have to add the border in photoshop first?

Re: Image borders not showing. 13 years, 6 months ago #4355

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
Only by commenting out
		$text = preg_replace('#\sstyle\s*=\s*([\'"]).*?\1#i', '', $text);

in administrator/components/com_mobilejoomla/imagerescaler.class.php
  • Page:
  • 1
Time to create page: 0.10 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.