I am experiencing the same thumbnail issue as costadesigns. It looks like the thumbnail files aren’t getting generated, in the Tinybrowser interface they are broken links. I tried switching GD2 to GD or ImageMagick in the EE prefs but it had no effect. I have a _thumbnails folder, but no files.
Regarding image thumbnails not appearing:
One reason this can happen is because the _is_image() function in ft.mx_tinybrowser_field.php will not return true unless the image file url is absolute - if you are using root-relative image urls to your upload folders then it will always return false. I rewrote the function as follows:
Around line 659:
function _is_image($file) {
global $PREFS;
$is_image = false;
$file = trim($file);
$site_url = $PREFS->core_ini['site_url'];
// check that the file is an absolute uri containing site_url
if (!strpos($file, $site_url)) {
// prefix with site url, trim traling slash if it exits
$file = rtrim($site_url,'/').$file;
}
// check if file is an image
if (exif_imagetype($file) ) {
$is_image = true;
}
return $is_image;
}Another issue is that the function selectURL() in tinybrowser.js.php prepends http:// to the front of any image path. Replace the functiion with this:
EDIT: some of the code I pasted into
was getting removed. I attach the file below.
Now you should be able to use root relative urls for file upload folders.
When I try using the Markitup version and click the imagemanager button, if I browse the images and then cancel without selecting anything, the word “undefined” repeats indefinitely and I have to close the entry. Also, the order of the items when browsing through the folders is not alphabetical (or numerical order) so its difficult to locate anything.
I’m not sure if that’s been resolved in your current version, looking forward to the next release.
I know this has been addressed before, but it looked like there were no solutions for it. I’m getting a message “No Upload Privilegies” when clicking on the small icon to bring up the file manager window. The upload folder has worked before with nGen fieldtype. I have the following settings:
TinyBrowser Stand Alone Permitted file ext: Images Upload Root Folders: Blank Upload Sub Folders: Blank Thumb Quality: 80 Image Quality: 80 Thumbnail size in pixels: 80 Image Width: Blank Image Height: Blank TinyMCE config file: tiny.js
Hope you can help me with this. This would make my client happy with ease of use of this.
With further testing, hoping it wasn’t a Firefox add-on, I’ve tried it on a Firefox 2.0 (Windows, no add ons), Firefox 3.0(Windows, no add ons), Firefox 3.5 (Mac), Safari 3 (Mac) and for fun my iPhone. They would all get the “No Upload Privlegies” error. Though, it did work on IE 6 and IE 8.
I tried the log in and out and still get the same results :(.
Great extension Max!
I’ve read through the posts, but didn’t seem to find an answer to my circumstance.
I would like all files and media to use relative paths. For instance, I have all of my files saving to a Media Library folder at “/media/{file_name}”. I would like links to all files to start with this, as oppose to my full site path.
I’ve adjusted my tiny_mce config, but it doesn’t look to be pulling. I also found the “article.js” file within the mx_tinybrowser fieldtype folder, and added the following parameters:
relative_urls : true, document_base_url “”,
This is also not solving the issue. Is it possible to use relative paths with this fieldtype?
Hi,
I would like to constrain the width of thumbnail, but not height. So what all thumbnails would have the same width, but the height would remain proportional to the image.
In the settings you set a single value for the thumbnail size, which TinyMCE sets height or width (whichever is larger) to that value.
Is it possible to just limit the thumbnail width?
Thanks in advance,
-Brett
I having problems with getting this plugin to work. if I just select the tinybrowser standalone that comes up, BUT when I click the add more button - nothing happens.
When I select the other 2 options - tinymce + tinybrowser or markitup + tinybrowser, NOTHING shows up in the field.
attached is my setting file.
thx in advance.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.