Theme content width breaks embedded gif?
-
Hi, I am trying to embed an animated gif in a blog post:
At the time of this writing, the gif doesn’t appear — only the alt text indicating ‘Broken gif here’ does.
Upon inspecting the HTML, in the img tag for the gif somehow ended up with a “?1008” appended to the end of the URL that I actually put in my blog post. Visiting this URL (https://feralchicken.files.wordpress.com/2014/05/mines.gif?w=1008) results in a 404 error. Remove this and it works. It works in visual preview in the blog editor as well.
The 1008 is the default content width of the particular theme I had selected at the time of this post. When I try to customize the theme, and I click CSS, there’s a field for modifying the content width to a different value. I was thinking there would be an option to disable having a fixed width applied to all attached media library items, which would fix the problem above, but I don’t see anything.
Is there a way around this?
Thanks,
–Alex
The blog I need help with is: (visible only to logged in users)
-
To get that particular gif to display, have you tried simply clicking to the Text editor, removing that restriction, and hitting UPdate from the text editor?
-
Well, that’s the strange thing. That restriction doesn’t exist in the text editor. It is just the unrestricted URL to the gif. The ?1008 must be getting inserted somewhere along the way by the theme.
-
That’s bizarre. I’ll flag this for staff attention; it must be a theme glitch. I’ve run across themes that put automatic formatting tags around tweet URLs etc, causing them to not display, but those show in the text editor.
-
Thanks for the quick response. I should add that I did try switching between 3 different themes thinking it might be specific to one theme, but each time just resulted in a different value appearing after the question mark.
-
Hi there!
Sorry for the trouble you’re having.
Rest assured that I’ve filed a report on this and we are investigating the issue. Let me get back to you when I hear updates. Thank you!
-
-
Hi Alex,
Our developers looked at the GIF file, and there seems to be an issue with the file itself that’s causing this problem. Can you please try opening the GIF file in an editing program, resaving it, and then uploading it to your blog again? That should fix the issue we’re seeing.
-
Hi,
That actually solved the issue. Glad that the stuff in the initial discussion wasn’t the issue.
Thanks a lot for all the help!
- The topic ‘Theme content width breaks embedded gif?’ is closed to new replies.
