# Getimage.php error

**URL:** <https://forum.oxid-esales.com/t/getimage-php-error/74796>\
**Category:** English forums\
**Tags:** basics\
**Created:** [March 22, 2016, 10:10am UTC](https://forum.oxid-esales.com/t/getimage-php-error/74796 "2016-03-22T10:10:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NHWS](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/nhws/32/301_2.png) [@NHWS](https://forum.oxid-esales.com/u/NHWS)\
**Post date:** [March 22, 2016, 10:10am UTC](https://forum.oxid-esales.com/t/getimage-php-error/74796/1 "2016-03-22T10:10:47Z")

</div>

I am having difficulty with this error message.

The information in the data base refers to earlier builds and I am worried that the .htaccess code may have changed on the ‘picture’ files. My .htaccess file (about pictures) reads as follows:

# In case you want to add a .htpasswd authentification

# you’ll have to add the host of the shop as an allowed entity,

# so that calls from the host skip the authentification

# Example:

# Order Deny,Allow

# Deny from All

# AuthType Basic

# AuthName “Access not allowed”

# AuthUserFile path\_to\_htpasswd\_file/.htpasswd

# Require valid-user

# Allow from localhost

# Satisfy Any

\<IfModule mod\_rewrite.c\>  
Options +FollowSymLinks  
RewriteEngine On  
RewriteBase /

```
RewriteCond %{REQUEST_URI} config\.inc\.php [NC]
RewriteRule ^config\.inc\.php index\.php [R=301,L]

RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]

RewriteCond %{REQUEST_URI} oxseo\.php$
RewriteCond %{QUERY_STRING} mod_rewrite_module_is=off
RewriteRule oxseo\.php$ oxseo.php?mod_rewrite_module_is=on [L]

RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/application\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !(\.html|\/|\.jpg|\.css|\.pdf|\.doc|\.gif|\.png|\.js|\.htc|\.svg)$ %{REQUEST_URI}/ [R=301,L]

RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/application\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (\.html|\/)$ oxseo.php

```

[COLOR=“Yellow”] RewriteCond %{REQUEST\_URI} (/out/pictures/generated/)  
RewriteCond %{REQUEST\_FILENAME} !-f  
RewriteCond %{REQUEST\_FILENAME} !-d  
RewriteRule (.jpe?g|.gif|.png|.svg)$ getimg.php

```
RewriteRule ^(vendor/) - [F,L,NC][/COLOR]

```

Back in 2009 LeoFonic wrote:

Das kann man schon debuggen, in der htaccess steht:  
Code:

[COLOR=“Yellow”]RewriteCond %{REQUEST\_URI} (/out/pictures/)  
RewriteCond %{REQUEST\_FILENAME} !-f  
RewriteCond %{REQUEST\_FILENAME} !-d  
RewriteRule (.jpg|.gif|.png)$ core/utils/getimg.php

d.h. alle Aufrufe für Bilder gehen an getimg.php und dort kann man debuggen.

* * *

Frank[/COLOR]

My script is clearly different to the script that LeFonic detailed.

What to do?

Don

---

<div class="post-metadata">

**Author:** ![vanilla\_thunder](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/vanilla_thunder/32/72_2.png) [@vanilla\_thunder](https://forum.oxid-esales.com/u/vanilla_thunder)\
**Post date:** [March 22, 2016, 10:52am UTC](https://forum.oxid-esales.com/t/getimage-php-error/74796/2 "2016-03-22T10:52:19Z")

</div>

is one topic not enogh for you?  
[http://forum.oxid-esales.com/showthread.php?t=39421](http://forum.oxid-esales.com/showthread.php?t=39421)
