PDA

View Full Version : Images Questions



Magz
11-16-2009, 09:10 AM
Hi Satish

This is my first time working with a customizable theme so I am a newbie.


I have been reading the forum but can't find an answer to my questions.


I can't seem to get my images to show on my front page if I choose a block magazine layout. What am I doing wrong?


Also, how do I get images to show up in my slider? I think my permissions are set correctly. One more question about the slider- is there a way to increase the amount of text lines in the slider?


Thanks in advance for your help!


Magz

http://www.tangerineturtle.net

Satish
11-16-2009, 04:20 PM
There is a small bug in includes/thumb.php

replace it with this


http://swiftthemes.com/blog/wp-content/uploads/2009/11/thumb.zip


Due to the bug in thumb.php all the posts thumbnail url's are wrongly stored. To fix it we are going to rewrite them.

Note: If you added custom image url to some of your posts manually it will be overwritten. If you dont what that to happen add update the custom image url in posts with problem manually from post editing page.

Find this line in the new thumb.php

$img = get_post_meta($post->ID, 'image', $single = true);

and replce it with

//$img = get_post_meta($post->ID, 'image', $single = true);


Now check all the pages on your site, if the are shwoing thumbnails correctly or not, once you are sure that all the iamges are showing correctly replace


//$img = get_post_meta($post->ID, 'image', $single = true);


with

$img = get_post_meta($post->ID, 'image', $single = true);

Magz
11-16-2009, 07:59 PM
Still no luck Satish.

I don't know what I'm doing wrong...


I can get an image in blog layout, but not magazine.


Also, still no luck with images in my slider.


I'm so sorry for asking again but I'm at a loss what to do next.

Satish
11-16-2009, 08:39 PM
now all your image urls are correct, so its not a problem with the theme

http://tangerineturtle.net/wp-content/themes/swift/timthumb.php?src=http://tangerineturtle.net/wp-content/swift_custom/36.jpg&h=90&w=273&zc=1


throws error 500,which means timthumb.php is not having exceute permissions.


Change its permissons and check.


If that doesnt solve your problem, checking your server error log or contacting ur hosting support might help.

Magz
11-16-2009, 09:10 PM
Satish

I actually logged out of my WP account and when I signed back in, the changes were there...my only problem now is...the sizing of the images...it doesn't seem to crunch them down to thumbnails. So, for instance, in my slider, there is half of an image and no text. Do I have to code their size in somewhere? Also, in the magazine layout, the images are too big and getting cropped.


I checked and timthumb.php is 755...should it be 766 or 777?


Magz


Edited: for some reason, when I went back to it again, the images are not showing again...

Satish
11-16-2009, 11:38 PM
mail me ur hosting and wordpress login details through this form

http://swiftthemes.com/contact-me/

Magz
11-17-2009, 03:09 AM
WOW! Would you believe, everything was looking fine, and now suddenly, the slider is formatted incorrectly...it is only showing images or text (but not image AND text) for 3 out of 5 posts...


I don't think I changed anything in the theme...do you know why this might be?

Satish
11-17-2009, 03:16 AM
add the custom image url manuallly to those posts

http://swiftthemes.com/2009/09/wordpress-themes/a-complete-guide-to-installing-and-customizing-swift/

Magz
11-17-2009, 04:41 AM
I already did that, and it looks like WP automatically made a custom field for all my images. I did go and click 'update' just to be sure, but it's still not working)


One of the posts (Halloween fun facts) is showing the image but not text in the slider, and others are showing text but not the image.

Satish
11-17-2009, 05:49 AM
copy the image url from post and add it to custom fields.


Add manual excerpts for Halloween post

Magz
11-17-2009, 06:40 AM
Thanks again Satish...

It's all working now.


I'm sure you hope not to hear from me tomorrow!


:)