21306 Posts in 5736 Topics by 2603 members
General Questions
SilverStripe Forums » General Questions » Adding a image border to an image not updating on live site???
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1106 Views |
-
Adding a image border to an image not updating on live site???

26 March 2010 at 6:46pm Last edited: 31 March 2010 6:53pm
Hi all,
When in the admin and I right click on an inserted image and go to "insert/edit image", I enter a value into the border box and click the update button, and the border is shown around the image in the admin.
So I click Save and publish and load up the live site but unfortunatley their is no border around my image!
I have tried flushing the ?flush=1 also.
Here is my css for my img tag under the layout.css
img {
vertical-align:top;
}Any help would be great
-
Re: Adding a image border to an image not updating on live site???

29 March 2010 at 5:39pm
Anyone know?
I've also just tried a default installation of SS on 2.36 and 2.4 and it behaves the same way (no border is shown on the images even though you set them in the admin). (Default black candy template and tutorial template being used)
-
Re: Adding a image border to an image not updating on live site???

31 March 2010 at 6:50pm
Another user had the exact same issue but also no one replied.
http://www.silverstripe.org/archive/show/226730#post226730I have gone into fire bug and checked the coding of the image, heres what it shows.
<img widt="231" height="172" src="assets/myphoto.jpg" alt="" title=""/>
As you can see there is no coding for a class etc, even though the border is applied to the image in the admin.
Any help would be great
-
Re: Adding a image border to an image not updating on live site???

4 May 2010 at 2:56am
I too have this problem. It seems like a handful of people on this forum have bumped into this problem but unfortunately no-one seems to have resolved the issue.
Did you have any luck with this since your last post?
-
Re: Adding a image border to an image not updating on live site???

4 May 2010 at 3:16am
I'm running Silverstripe 2.3.5 with the Blackcandy theme. No borders even though I've removed "borders : none;" in typography.css in the ".typography img" section.
Any suggestions appreciated.
| 1106 Views | ||
|
Page:
1
|
Go to Top |

