Support Forums - Classified Ads Script Osclass

Osclass theme support => Free themes => Elena Osclass Responsive Theme => Topic started by: user77 on April 19, 2016, 02:36:41 PM

Title: Cant open/upload photos in the New Item Publish - Pre-resize images 1.1.1 - HELP
Post by: user77 on April 19, 2016, 02:36:41 PM
Cant open/upload photos in the New Item Publish when this Plugin is on "Pre-resize images 1.1.1" plz see screenshoot and help.
Title: Re: Cant open/upload photos in the New Item Publish - Pre-resize images 1.1.1 - HELP
Post by: MB Themes on April 19, 2016, 04:10:10 PM
@user77
It means there are javascrip errors caused by this plugin.
You should also enable drag & drop image uploads.
Title: Re: Cant open/upload photos in the New Item Publish - Pre-resize images 1.1.1 - HELP
Post by: user77 on April 19, 2016, 10:07:31 PM
This is what the plugin instruction says to change
Quote
Setup
For this plugin to work you need to make a little modification in your theme. Find all occurrences of this line:
ItemForm::ajax_photos();

(Usually found in item-post.php and possibly item-edit.php as well)

Replace it with:

if (function_exists('przi_ajax_uploader')) przi_ajax_photos();
else ItemForm::ajax_photos();
How exactly to enable drag & drop image uploads?
It works with OsclassWizards 2.0.4, what should I change so it also works with Elena theme?


Title: Re: Cant open/upload photos in the New Item Publish - Pre-resize images 1.1.1 - HELP
Post by: MB Themes on April 20, 2016, 07:42:37 AM
@user77
Go to theme settings and check
"Use new Drag & Drop image uploader instead old one"
Title: Re: Cant open/upload photos in the New Item Publish - Pre-resize images 1.1.1 - HELP
Post by: user77 on April 20, 2016, 02:16:00 PM
 it works now, problem solved, Thanks!
Title: Re: Cant open/upload photos in the New Item Publish - Pre-resize images 1.1.1 - HELP
Post by: MB Themes on April 20, 2016, 03:06:56 PM
@user77
Cool, welcome.