Jump to content
thirty bees forum

[solved] [Module] Block Image Slider wrong img dir?


Recommended Posts

Does the Block Image Slider save images in the wrong dir or does it have the wrong baseimgurl set in the view script?

The main page displays only an icon of a camera - the placeholder img - instead of the pic I uploaded.

Checking the urls I get this:

https://domain.tld/modules/homeslider/images/e6d5ad7d13bc588c9df3573b7de85786_hkelfilename01.png (on the main page)


https://domain.tld/img/homeslider/e6d5ad7d13bc588c9df3573b7de85786_hkelfilename01.png (in the settings of the slider module)

I'm thinking about just linking the two dirs in the ubuntu OS? Any advise?


Product images work fine.


Running thirtybees 1.4.0

on Ubuntu 20.04 with PHP 7.4 (FPM)

Edited by NMND
issue solved
Link to comment
Share on other sites

Module now keeps images in /img/homeslider directory. The default module template displays the image properly. However, if you theme has override for the template, it may be looking into wrong place for images.

Edit file /themes/<theme>/modules/homeslider/homeslider.tpl and replace




As you can see, original implementation used hardcoded path to module directory. That's just wrong. New implementation simply displays the url that module provides.

  • Like 1
Link to comment
Share on other sites

  • NMND changed the title to [solved] [Module] Block Image Slider wrong img dir?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...