# Image\_tag bad src generation

**URL:** <https://www.ruby-forum.com/t/image-tag-bad-src-generation/142512>\
**Category:** Deployment\
**Created:** [July 8, 2008, 6:26pm UTC](https://www.ruby-forum.com/t/image-tag-bad-src-generation/142512 "2008-07-08T18:26:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucanarbone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/c37758/32.png) [@lucanarbone](https://www.ruby-forum.com/u/lucanarbone)\
**Post date:** [July 8, 2008, 6:26pm UTC](https://www.ruby-forum.com/t/image-tag-bad-src-generation/142512/1 "2008-07-08T18:26:07Z")

</div>

Hi everybody, I’m fighting with iis and fastcgi for deployment on a  
windows 2003 server!

I’m running rails 2.1 and everithing untill now seems to work fine  
except the src attribute of image tags gereated by image\_tag helper

when the “?1234565” query string is appended to the image url also a “.”  
is appended just before the “?” and after the image file extension.

For example

image\_tag(“header.png”)

generates

![Header](https://test.ruby-forum.com/images/header.png.?1234565)

This happens only on iis, not if I run webrick on the server…

Does anybody know how can I fix it??

Thanks!
