images not working in S1
Mar. 9th, 2005 12:32 pmI've been using customised S1 styles for years now, and have never had this problem before. When creating a new style yesterday (571150; I've made the "friends" one public so you can have a look at the code, and I'm currently using it) I found that none of the lj images were loading - the protected/private images, or the userpics on my friends page. I assumed this was bad code on my part and tried re-writing it, using the same "friendpic" and "img src" code I'd used in my previous style, which didn't have this problem.
When I viewed the source of the broken style, the problem appeared to be that links to lj-specific images (written into the style as %%src%%, or %%cons:img%%/icon_private.gif) were being generated as links in the form http://http://www.livejournal.com/userpic/....
Since the <img src="%%src%%"> is an automatically generated link, how can I affect the way the links are generated?
The most disturbing thing about all this is that when I went into the code for my previous style, which hadn't had this problem this morning when I was checking livejournal, after I saved the style and exited, this problem started happening on my friends page. Not in a "preview style" window, but on my actual livejournal. And when I created a new style based on one of the pre-created LJ S1 styles, didn't edit it at all, and previewed it, there was the same problem.
Which implies it isn't my code that's at fault at all, but something in the livejournal system. However, when I look at other peoples' friends pages, everything's absolutely fine. I've submitted a support request, and glancing through the recent requests it seems a lot of people are having this problem as well.
Any ideas?