February 15, 2011 at 4:54 am #3074
Images on pages are not displaying. They don’t display at all for some people, or display only a few images for others. They display for me but not others.
The site in construction is here: http://www.int.sportscampsf.com
For example, they are not displaying for others on http://int.sportscampsf.com/services/hotel/
I created sub pages called “Test” to see if having fewer images made a difference. It had no effect.
BoissFebruary 15, 2011 at 9:51 am #40545
The images loaded for me, but took a really long time (over a minute for some and I’m on a fast connection). It may be worth checking with you host why it’s running so slowly, static images shouldn’t take that long to load so it might be a bug on their infrastructure.
As to why they don’t display for some people, I’m guessing that are using IE and it’s timing out after 30 seconds, otherwise the page would take a long time to load completely; it’s not a case they aren’t there because they did load for me.
JamesFebruary 15, 2011 at 5:07 pm #40546
Strange. There have been no issues with the many other sites I am running on that same account. However, I will give them a call and see what is up.
PhilMarch 8, 2011 at 4:18 am #40547
I have worked out the issue with the images not loading in IE, they were way to large (not optimized at all). However, there is some caching error when images are clicked on in the Services pages. Please check it out and let me know what can be fixed. I am happy changing the code so they are not clickable at all, just tell me what to change.
BoissMarch 8, 2011 at 11:57 am #40548
Optimising / caching images is down to you and / or your web host and can be done through .htaccess.
If possible, ensure you use an option which optimises the images (in Photoshop it’s save for Web and Devices).
I’ve looked over the site and notice that images are still loading quickly for me: e.g. http://int.sportscampsf.com/wp-content/uploads/2010/12/int-architectual.jpg
JamesMarch 9, 2011 at 3:25 am #40549
I think you missed the point of the question.
Then click on an image, you will get this error:
“You are here: INT TEST »
Catchable fatal error: Object of class WP_Error could not be converted to string in /home1/sportsc5/public_html/int/wp-content/themes/cubit-6-in-1-business-portfolio-theme/cubit/functions.php on line 82″
It is not related to optimization. I am not running any plugins either. Please advise.
Thank you James,
BoissMarch 13, 2011 at 8:20 pm #40550March 15, 2011 at 9:47 am #40551
Sorry for the late reply, think your topic was missed somehow.
I think I missed the bug, this is a problem with the Breadcrumbs function, line 82 referenced in the error is for attachments which this page is: http://int.sportscampsf.com/services/hotel/int-wall-coverings/
This could be a bug – by the looks of the site (and this is a guess because I can’t see which template is being called) this is a page rather than a post and therefore has no categories assigned.
I’ll report this ti Kriesi to look into, for a quick fix open up functions.php and delete this code between lines 78 and 83:
$my_query = get_post($der_post->post_parent);
$category = get_the_category($my_query->ID);
$ID = $category->cat_ID;
echo get_category_parents($ID, TRUE, $markup, FALSE );
This should stop the error and load the page however the breadcrumbs won’t display the correct path.
JamesMarch 16, 2011 at 11:37 pm #40552
That fix did not work. It caused multiple small pics to open when the one pic was clicked. I need to launch the site next week. Please let me know how to fix it. Is there a way to make photos “not clickable” for a quick fix?
PhilMarch 22, 2011 at 4:25 am #40553
Please let me know what to do here. I am on very tight timeline for this project.
PhilMarch 24, 2011 at 12:13 am #40554
I needed to move things forward here. I paid someone for advice. I wish I could get better response on this guys. Unfortunate.
There is a new issue though, please see my new post.
BoissMarch 24, 2011 at 11:37 am #40555
The topic ‘Images Not Displaying’ is closed to new replies.