Photo not showing after installing Concrete 5.6.1
Permalink Browser Info Environment
I have upgraded to Concrete 5.6.1 and I have now a big problem athttp://www.guyverville.com/blog....
First, I have to describe what I have changed and stated that everything was fine before the update (ProBlog was not updated, but I did after noticing the strange behaviour, but to no avail.) I have also to say that the previous posts display correctly. Only the new ones have problems.
While designing the blog, I changed the templates/blog_posts/view.php file which sits in the blocks folder (see capture). The code inserted is this one:
What it does is straightforward, it gets the thumbnail image and shows it at 640px width instead of the default width. This prevents me to copy twice the image. An example here:http://guyverville.com/blog/remettre-la-soupe-ces-mots-durs-cuire/...
Now if you go here, you will see that the picture doesn't show, while it is there since it shows from other codes:http://guyverville.com/blog/cest-un-fou/... (you can see athttp://guyverville.com/blog/ that the thumbnail is displayed).
Please note also that the HTML editor is no more working. See other capture.
Any idea of what is going on?
First, I have to describe what I have changed and stated that everything was fine before the update (ProBlog was not updated, but I did after noticing the strange behaviour, but to no avail.) I have also to say that the previous posts display correctly. Only the new ones have problems.
While designing the blog, I changed the templates/blog_posts/view.php file which sits in the blocks folder (see capture). The code inserted is this one:
$imgHelper = Loader::helper('image'); $thumb = $c->getAttribute('thumbnail'); if ($thumb) { $image = '<div class="imagePrincipale"><img src="'.$imgHelper->getThumbnail($thumb, '640px', 'auto')->src.'" /></div>';
What it does is straightforward, it gets the thumbnail image and shows it at 640px width instead of the default width. This prevents me to copy twice the image. An example here:http://guyverville.com/blog/remettre-la-soupe-ces-mots-durs-cuire/...
Now if you go here, you will see that the picture doesn't show, while it is there since it shows from other codes:http://guyverville.com/blog/cest-un-fou/... (you can see athttp://guyverville.com/blog/ that the thumbnail is displayed).
Please note also that the HTML editor is no more working. See other capture.
Any idea of what is going on?
Type: | Discussion |
---|---|
Status: | New |
We really can't advise on custom block views/changes made. And I would assume the tiny mce is a translation issue. I will look into this. But I may be a couple days as I am out of the office.
ChadStrat