Image issues
-
I’m having a very frustrating time adding images to my posts. At the moment, I am only able to add images via the media gallery.
However, I want the ability to add a different url to my image that directs the user to a website upon click instead of expanding the topic. I also cannot add an image using an img tag in the html editor, or using the image from url option. The image does displays in visual display, but when I click update/post I’m redirected to my posting list in the admin. Using wordpress’ default theme doesn’t solve this, and I have no plugins installed.
I also have a lot of errors that display at the top of my admin page in the media section of the admin: Warning: in_array() expects parameter 2 to be array, null given in /home/creation/public_html/wp-includes/query.php on line 2399 The image issue was the same when I initially installed wordpress with 3.1.1.
After a lot of web research on my own I have determined that this is a hosting issue, in which the database isn’t allowing me certain write permissions. I am able to change the CHMOD permissions on the folder’s themselves, but the issue is with permissions on the server itself. I found this suggestion online that said to add this block to my .htaccess file:
<IfModule mod_security.c>
<Files post.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>The only change this made regarding adding an img tag or image url to my post was redirecting me to my post list in the admin. Before adding this change, the page would just go blank with an error on the top of my screen when I clicked save/update post.
I am hosting with iNet-Solutions and when I contacted them regarding this issue, they responded by telling me that they will not allow changing the permissions on the server itself, but I can change the permissions with my individual database and suggested to override the permissions via a php.ini file, which I have no idea how to go about writing.
There has gotta be a way I can get images in my posts either with an img tag in my html editor, or by adding an image url. I also would like the ability to add a secondary larger image to my expanded post(if this is possible) so I can avoid using popups for images showcasing new project designs. If anyone on this forum knows of a php.ini file that will override my permissions to allow images in my post that would be great!
~Frustrated
Developer
https://multimedia-creations.com
- The topic ‘Image issues’ is closed to new replies.