How to disable link to image in Core Slideshow Block?

Permalink 1 user found helpful
Hi There,

Just wondering if it is possible to set the Core Slide Show Block so that a guest can't click on the show to bring up a view image in the browser? (Just like it to run as a slideshow that can't be clicked on)

Here's my site >http://www.auspacjoinery.com.au

The block is at the top (the banner)

PatrickCassidy
 
adajad replied on at Permalink Best Answer Reply
adajad
It seems like I'm getting to know you by now. :)

First make an override of the core slideshow block by copying it out from 'public_html/concrete/blocks/slideshow' to 'public_html/blocks/slideshow'.

Then open up view.php and edit line 92 from
url:"<?php echo $imgInfo['url']?>",

into
url:"",


Save the file and clear your site cache and you should be good to go.
PatrickCassidy replied on at Permalink Reply
PatrickCassidy
Absolutely adajad! You've been an massive help! Need to buy you a beer or five!

Does the site seem slow to you? I know the site is pretty image intensive (especially the background) - but seems ok to me, the client commented it was a little slow. I could always change out the background for a 1px faded burned orange band I guess to speed up load times.

Thanks again!
adajad replied on at Permalink Reply
adajad
You do have a small issue not caching static content and compressing text, but that can easily be changed if you add the below to your .htaccess file (located in your web root). Other than that it's not much you can do except compressing the images a bit more (and change to a host that serves your site quicker - Time to first byte).

# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
# end compression
# set browser caching
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000


Have a look here: http://www.webpagetest.org/result/120626_6V_CJD/...

EDIT: And no, I don't feel like it's slow.