Loading...
 
Features / Usability

Features / Usability


"The file is not an image"

posts: 3

Q1. When I batch upload images to my Image Gallery using a ZIP full of jpgs, everything is OK and

Copy to clipboard
{img id="136", thumb=y, stylebox=border, button=y, desc=desc, max=200, rel=box}

shows correctly.

If I do the same with Directory Batch upload, the same IMG tag results in "The file is not an image". If I use ONLY
Copy to clipboard
{img id=136}
it shows the picture correctly, but if I as much as add the thumb=y parameter, it says it's not an image.

Q2. How and where do I define the default parameters for the IMG plugin? It would be great if the users only needed to enter
Copy to clipboard
{img id=123}
and the rest of the parameters would be added by default and all images on the site would be shown in a uniform manner.
posts: 175 Canada

I just noticed in tiki 6.x that if you specify a width you get the "The file is not an image" message. Remove the width and the image displays.

Pretty serious bug image-wise.

You can give it a class and get at it with css, but... it should take a width.


posts: 1630 Canada
Lanorac wrote:
Q2. How and where do I define the default parameters for the IMG plugin? It would be great if the users only needed to enter
Copy to clipboard
{img id=123}
and the rest of the parameters would be added by default and all images on the site would be shown in a uniform manner.


Please see:
Plugin Alias

You could also tweak the code at:
lib/wiki-plugins/wikiplugin_img.php

Best regards,

M ;-)


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting