Maggical
Member
Posted 2 years ago #
Hi there,
Following this thread:
http://wordpress.org/support/topic/383491?replies=3
I made the permanent links work, but the problem now is a big one, when I try to access any image on the site it goes to the archive.php instead of the image, for example:
http://www.moonward.net/uploads/adidas-star-wars-1.jpg
What's hapenning? Any ideas on how to solve it?
Thanks,
Javier
I can't find any problems with the images on your site. Can you post a link to a page or post where this is happening?
Maggical
Member
Posted 2 years ago #
The thing is that this link:
http://www.moonward.net/uploads/adidas-star-wars-1.jpg
Is a direct link to an image, and it's not working as such...
So I had to use a "trick" for the images to display ok in the posts, and that is to call timthumb.php everytime I need to display an image, even when I want the users to just see the full image size...
That's not convenient at all :S
Have you checked your uploads path in Admin?settings/Miscellaneous? It should be set to wp-content/uploads
Maggical
Member
Posted 2 years ago #
It's all in default mode...
Could it be a problem of the index.php that this blog posts as the fix?
http://www.ryanyockey.com/146/wordpress-themes/magazeen-wp-theme-pagination-fix/
Thanks for the help and sorry to keep asking :S
Difficult to say. Do the images work if you use the default permalink settings?
Maggical
Member
Posted 2 years ago #
They worked perfectly until I used this "fix"...
It seems as it gets every link as a post link and does not care about wheter it is one or not... :S
I'm really lost right now with this...
Do the images work if you use the default permalink settings?
Maggical
Member
Posted 2 years ago #
Nope, with the default settings (links like ?p= if you go to this link:
http://www.moonward.net/uploads/adidas-star-wars-1.jpg/
It just goes to the homepage...
Any ideas now? :( Is it a problem in the index.php?
Maggical
Member
Posted 2 years ago #
Maggical
Member
Posted 2 years ago #
Let's see if this helps. The code for my index.php is as follows:
$paged = get_query_var('paged');
if(isset($paged) && !empty($paged)){
/* here's the archive.php code */
}else{
/* normal home page look. */
}
It seems that if you want to access any file in the ftp, it takes you inside the first "if" and displays the archive.php page...
Any ideas now?
Thanks,
Javier
Why are you missing /wp-content/ from your upload path each time you refer to it..
Apparently you have an upload folder, but there are no images in any of the folders.
http://www.moonward.net/wp-content/uploads/
Maggical
Member
Posted 2 years ago #
I'm uploading all images to http://www.moonward.net/uploads/ instead of inside wp-content. That's not ok? :S
Maggical
Member
Posted 2 years ago #
Ou... This works!
http://www.moonward.net/wp-content/uploads/adidas-star-wars-1.jpg
:S Was I just missing the simplest thing or what? :S