Issue with Random Image module in Joomla 3.9.13? - module

I created the folder and uploaded 3 jpg images. And putting the right path in Image Folder. But it still not show the images on page.
What am I doing wrong?

This looks correct to me.
I suggest trying an alternative path for the Image Folder such as:
/images/Manifestation_Miracle
I also suggest renaming the folder to remove the underscore to see if that helps.

Related

Find invalid image paths in vue project

In my Vue 3 project, all images are located in public/assets/image then in .vue files I refer to these images like assets/image/image.png.
Sometimes I might make a typo in a path or a path might not be correct anymore.
Is there any automated way to find and fix all incorrect paths in a project?
I am using "VS Code" and "IntelliJ IDEA" might be there are any plugins to handle this.
In VS Code there is an extension called Image preview
https://marketplace.visualstudio.com/items?itemName=kisstkondoros.vscode-gutter-preview
If the path is right it shows the image at the left side of the import.

What is the best place to store module uploaded images

I am creating a module that allows to create some objects and upload images for them.
For the moment, I am uploading images in the module folder itself. But I think it is better to store them in PS img folder like for product and category images. One of the reasons is to avoid their deletion when module is deleted mistakenly from backoffice.
Is there any other reason to store/ not store images in img folder? What is the best place to store a huge number of uploaded images?
Your ideas are much appreciated. Thanks in advance.
Yes, it's better to save your images in the img folder. The most important reason for doing this: this route will never be blocked by robots.txt.
In my modules, (in order to be more orderly,) I create a folder called "module" and then inside this folder, I create another folder called the my-module-name.
img/modules/my-custom-module/test.jpg

N2CMS: Tilde path not working

I am trying to use N2CMS in an existing MVC website. The problem is that when I browse the dhasboard (http://localhost:64826/N2/), I get some of the Menu links with Tilde.
e.g. This is the ink for "templates"
http://localhost:64826/N2/~/N2/Content/Templates/Default.aspx?selected=/start/&item=2
Here is an image of the problem: http://postimg.org/image/7xaup0idz/
Any idea how to get these links working?
I had to download the source code and change the method "ToAbsolute(string applicationPath, string path)" in N2.Web.Url.cs.

How to access local css files in external HTML File

I load some external files form the web in webview, but now I won't to improve the loading time and save all css und images on device.
My folder is /Ressources/assets/themes/....
In html file I try everything from simply assets/... to file:///Ressources....
What is the right way?
Thank you!
we have to use prefix app://
For a example if you want to include style.css which is inside of folder mycss
app://mycss/style.css
You need to use the app:// prefix.
Try this will may help you
Was there ever a solution to this problem? I'm having it as well. I tried 4 methods of linking:
../css/style.css
/css/style.css
app://css/style.css
file:///css/style.css
app://Resources/css/style.css works for me.
Using 3.1.1.GA

How to get current directory in Appcelerator Titanium?

Assuming that my JS file is in /libs/qrcode/qrcode.js and i have another file qrcode.html at /libs/qrcode/, is it possible to get current directory/path (i.e. /libs/qrcode/) inside the qrcode.js?
what i'm trying to do is to load qrcode.html in the webview inside qrcode.js without worrying where is the qrcode folder reside in the Resource directory.
Any help?
Try Ti.Filesystem.resourcesDirectory or Ti.includeAbsolute
This should give you the path from your Resources folder or take a look at the Titanium.Filesystem.File