Random Image Issue with Bitnami Joomla - joomla

I have changed my joomla! application to run at / (root) instead of /joomla/ by:
./bnconfig --appurl /
Everything works fine, except a Random Image Module, which no longer displays images.
Checking the html source, the link of the pictures looks like:
//folders/filename.jpg
which seems to be wrong.
Any hints how to influence that the src in the html is:
/folders/filename.jpg
like in case of other simple pictures displayed correctly.
Thanks in advance!

It looks like that changing the path of the pictures from absolute:
/opt/joomla-3.6.2-1/apps/joomla/htdocs/images/thumbnails
to relative
images/thumbnails
solves the issue.

Related

Vue markdown Image not displaying

I'm using the vue-markdown package to render markdown. It seems to work except the images don't display. The file path is correct as I can have an img show up correctly
<img src="#/assets/7801_4_lang_image.png"><!-- shows up -->
<vue-markdown>![img](#/assets/7801_4_lang_image.PNG)</vue-markdown><!-- doesn't show up -->
Changing the # to .. doesn't change anything either, the top one displays but the bottom one doesn't. The case of png/PNG also doesn't matter. Am I referencing the image wrong?
The file loader doesn't know about images in Markdown so Webpack doesn't know to bundle them.
Typically you need to require() the image source (see https://cli.vuejs.org/guide/html-and-static-assets.html#relative-path-imports)
You could try this but I'm not entirely sure if it will work with the vue-markdown component.
![img]({{ require('#/assets/7801_4_lang_image.PNG') }})
To use the source prop, you would use something like
<vue-markdown :source="`![img](${require('#/assets/7801_4_lang_image.PNG')})`">
See https://v2.vuejs.org/v2/guide/syntax.html#Attributes
You could also use the public folder who's contents are always bundled. For example, for a file public/images/7801_4_lang_image.PNG and assuming your app runs at the domain root
![img](/images/7801_4_lang_image.PNG)

Pictures are not imported

I am having an issue in Magento where my pictures are not being uploaded even though rest of the fields gets properly imported.
I don't know what's the path that I should specify for my pictures in order to get uploaded.
In my feed file I have something like this: /test.png or just test.png and I have tried to copy the image to the \var, \var\import, \var\importexport
Assuming you're using the default CSV-Import try to put them in media/import.

Can not insert images inline OpenWYSIWYG with CodeIgniter

My previous question was here
missing images OpenWYSIWYG editor , Code igniter Structure.
I was able to load icon images and can upload image, but I can't insert image into inline text:
Please see the images for a clearer picture. It just won't add them to the textarea.
Modified 1-6-2013
After fixing
assets/js/openwysiwyg/addons/imagelibrary/insert_image.php.
I was able to add image frame
how ever URL enter is wrong
URL should be
app_name/assets/js/openwysiwyg/uploads
How can I fixed that?
I fixed it , by the solution from this link
http://www.ussamerica.org/Scripts/openwysiwyg_v1.4.7/docs/addons.html
after changing
/assets/js/openwysiwyg/addons/imagelibrary/config.inc.php
like this it works now
$imagebaseurl = '/app_name/assets/js/openwysiwyg/uploads/';
I am posting this as it might helpful to someone in the future.

Magmi is cannot find multiple images

I've Googled, and Stackoverflowed this to death (and checked the Wiki), but I can't find a solution to my problem :(
Problem:
With Magento Magmi: all products and single images are importing fine, the only catch is that Magmi throws the following error when I try to import multiple images (e.g. /BJ977L.png,/BJ977R.png):
Image attributes processor v1.0.25 - /BJ977L.png,/BJ977R.png cannot be found in images path
Obviously I checked and the files are there... Also, if I change it to only reference one image, then it works. I find this very confusing.
The images are located in: media/import and the Magmi Image Plugin configuration reflects this. Also, if I move the images to another folder, say var/import/images; then it makes no difference...
Your help is hugely appreciated!
Thanks in advance!
As the Images Attribute Processor documentation states, you should be using a semi-colon ; to separate multiple images.
/extraimg1.jpg;/extraimg2.jpg
Also ensure that the column names you are using are correct. media_gallery is the correct column header name for the media gallery images.
Have you tried using semi colon?
/BJ977L.png;/BJ977R.png
Have you tried using the complete file path to the images? Also, did you specify the file path root for the images in the plugin settings?
If you have formatted the .csv file the right way then you should check the Image Renaming setting for the Image attributes processor. If you specify a bad rule to rename your newly imported images you could end up with the same name for every picture. So basically the first image will be imported, then the second will overwrite it because it was given the same name. If you only see the last picture you specified for the media_gallery attribute then this is probably the cause.
Hope this helps.

Lightbox: On my page the first image loads the following ones don't

page being worked on
Hello all I hope this will be a simple fix I just don't know what is holding up the program.
So here is the scenario, I have just installed lightbox I test just the first image and in worked great no problem. So then I proceeded to group all the images on the page and none of them would open. You will see on the page now I just have two pictures the rest are commented out.
Any help would be great thanks!
From what I am seeing, your second image is not appearing because the file you are pointing to has not been uploaded to the site.
For your first image, the "A" tag is referencing 1small.jpg, which is the same as the image.
For your second image, the "A" tag is referencing 125large.jpg, which is different from the image (125small.jpg).
Either upload the missing image, or correct the "A" tag.

Resources