Forum

Thread tagged as: Problem, Blog

imageclasses in blog

Hi

I've added imageclasses="img-responsive" to my post.html in blog but its not applying the class to added assets through the markitup. Code is;

<perch:blog id="postDescHTML" type="textarea" label="Post" editor="markitup" markdown="true"  size="xxl autowidth" imagewidth="500" imageclasses="img-responsive" required="true" />

Does imageclasses not work in blog?

Diagnositics;

Perch: 3.0.6, PHP: 5.6.30, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (3.0.6), assets (3.0.6), categories (3.0.6), perch_blog (5.5.1)
App runtimes: <?php $apps_list = [ 'perch_blog', ];
PERCH_LOGINPATH: /perch
PERCH_PATH: /customers/8/3/b/changesmith.solutions/httpd.www/perch
PERCH_CORE: /customers/8/3/b/changesmith.solutions/httpd.www/perch/core
PERCH_RESFILEPATH: /customers/8/3/b/changesmith.solutions/httpd.www/perch/resources
Image manipulation: GD
PHP limits: Max upload 96M, Max POST 96M, Memory: 512M, Total max file upload: 96M
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
Resource folder writeable: Yes
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
REQUEST_URI: /perch/core/settings/diagnostics/
HTTP_HOST: www.changesmith.solutions
DOCUMENT_ROOT: /customers/8/3/b/changesmith.solutions/httpd.www
Wayne Hooper

Wayne Hooper 6 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Thinking about it, I'm not sure that function actually works now that the editors all use Assets rather than direct file upload. It may need to be reimplemented as part of Assets.

Thanks Drew. Not sure as I've not used it in a while, only on older builds, so I don't know if it works in <perch:content