I was wondering if I can "tweak" some part of the code in DD Block or in Drupal itself to help load my first image quickly? The first loading of the first image takes so long, it looks like an old scanner is scanning it and then slowly showing the image many seconds later.
The image is pulled from an Imagecache file and the original size of the photo is only 800 X 600 px and is scaled down to 600 X 500 px. The other 3 images in my DD Block (out of 4) load pretty quick first, second, and all the other times through with no problem. Just the first image the first time in goes really slow. Any suggestions?
Re: First image loading slow
Please create an issue in the issue queue of the module.
It's not so much the resolution of the image, it's the size of the image that counts.
Do you have a link to the Internet site?
In future versions of the module we will try to make initial image loading more efficient.
Suggestions how to improve image loading always welcome.
Image in DD block
Initially I configured the DD block with one theme. It worked well. But when I changed the theme with change in template.php (change in theme name), can see the DD block with buttons (as in gradient-blue30p) without images.
Why I am not able to see the image? Is there something more changes to be done in order to see the image when we change the theme.
Re: Image in ddblock
From what I read, I understand you are using another overall theme with your site and the ddblock module does not work anymore.
You copied the preprocess function to the template.php file of the new overall theme
You made the [theme_name] change to the new overall theme.
Did you copy the custom folder with the ddblock themes to the new overall theme?
Hope this helps you further, if not, please make an issue in the issue queue of the module.
Info about First Image Loading Slowly
Thanks for the info. I'll make a issue/question in the "Issue Queue" of the module as you mentioned.
About size of the images I'm using for my ddblock module with my site...the original size is normally between 800x600 but not larger then 1024x768. I am using Imagecache (along with ImageCache Actions) modules with my Drupal site. Here is the link to the site (still in test mode) to see what I mean:
http://www.africansoulinternational.org/test-site/
Please notice how the first image needs a good amount of loading time the first time around then after that, its OK (using the cached version this time around). I'm hoping for help to find code to do a little "pre-loading cache" for the first visit.
Thanks for any future help.
Brian
Hi I'm using DDblock and
Hi
I'm using DDblock and trying to use imagecache_actions to add an overlay, but it doesnt seem to be working!
the overlay is working fine when i view the actual article, but it is not showing in the slideshow with ddblock
what am i missing?
Thx
Re: ddblock and imagecache actions
When using image cache you need the set the preset to use in the ddblock slideshow configuration page.
Do you have a link to the Internet site?
Can you make an issue in the issue queue of the module at Drupal.org.
Re: Info about First Image Loading Slowly
Your images are still relatively big: 300k per image, x4 is 1.2 MB to download.
You could compress the image by setting a jpeg compression at:
Administer > Site configuration > Image toolkit
Even a compression of 40% should still show good pictures but a lot smaller and quicker to download.
You can have a try first a compression of 40% that is still good enough by flushing your image cache preset. (new images will be made, using the compression)
If you think the quality of the pictures is not good enough make the compression higher 50%, 60%, etc till you find a good enough quality)