WordPress.org

Ready to get started?Download WordPress

Forums

Image Store
[resolved] Image Uploading (12 posts)

  1. glvz
    Member
    Posted 4 years ago #

    Hey I have just uploaded the plug in and it doesnt seem to be creating folders for galleries and it when i upload images its not saving them but its saying that it is ive deleted and reinstalled and ive checked to plug in files and nothing either all my images show up as brocken links. I followed the installation process but still nothing any help would be appreciated. thanks.

    http://wordpress.org/extend/plugins/image-store/

  2. Hax
    Member
    Plugin Author

    Posted 4 years ago #

    What type or server are you on? what version of php are you running?

    check that your wp-content folder is writable.

    if that doen't work check the url that the image is going to and can you send me the link or a pice of the html that the plugin is generation on your page.

  3. glvz
    Member
    Posted 4 years ago #

    Hey Hax I was able to get the plug in to create an image folder and display the images but instead of broken links i get small images as the preview images on the front end and ive changed the sizes under the main settings and still the same thing my other problem was resolved after i placed everything on the server from my localhost any help woud be great thanks

  4. Hax
    Member
    Plugin Author

    Posted 4 years ago #

    Try this:

    Set your image preview size to the the desired size in settings > image settings > Image preview.

    Your are going to have to re-upload your galleries for the new preview image size to take place. The different image sizes get generated when you upload the images not dynamically for performance.

    Also make sure that your images are big enough to reach your desired size the plugin doesn’t increase the size.

    Hope this helps or if you want send me a link to your site to see what is the problem.

  5. glvz
    Member
    Posted 4 years ago #

    http://affiliatemedia.cc/Nieubreed/Gallery/?page_id=4&imsgalid=43&_wpnonce=9e08d1121d

    Gallery ID: LLIPKLVMFDwn
    PW: password

    my images are original size set width of 850 px and ive changed the settings and deleted the gallery and created a new one and then uploaded new images and the same thing is happening

  6. Hax
    Member
    Plugin Author

    Posted 4 years ago #

    somebody already reported the same issue let me check it out. I will try to solve it and will release a new version thank you for your feedback.

    can you telling me what upload method you'r using zip, server folder scan, flash upload

  7. glvz
    Member
    Posted 4 years ago #

    I am going to "Add New" > "Upload Images" and using the flash uploader but i am uploading multiple images from my desktop

  8. Hax
    Member
    Plugin Author

    Posted 4 years ago #

    I was not able to duplicate the issue but I think the issue is in the image-store > image.php file will you be comfortable edit the file. you need to change the "__construct( ){....}" function with this code

    /**
    	 * Constructor
    	 *
    	 * @return void
    	 * @since 0.5.0
    	 */
    	function __construct( ){
    
    		if( empty( $_REQUEST['img'] ) ) die( );
    		$this->attachment = get_post_meta( $_REQUEST['img'], '_wp_attachment_metadata', true );
    
    		if( isset($_REQUEST['mini']) && $_REQUEST['mini'] == 1 )
    			$this->image_dir = str_ireplace( WP_CONTENT_URL, WP_CONTENT_DIR, $this->attachment['sizes']['mini']['url'] );
    		if( isset($_REQUEST['thumb']) && $_REQUEST['thumb'] == 1 )
    			$this->image_dir = str_ireplace( WP_CONTENT_URL, WP_CONTENT_DIR, $this->attachment['sizes']['thumbnail']['url'] );
    		elseif( $this->attachment['sizes']['preview']['url'] )
    			$this->image_dir = str_ireplace( WP_CONTENT_URL, WP_CONTENT_DIR, $this->attachment['sizes']['preview']['url'] );
    		else $this->image_dir = WP_CONTENT_DIR . $this->attachment['file'];
    
    		if( !file_exists ( $this->image_dir ) ) die( ); 
    
    		if( isset( $_SERVER['HTTP_IF_MODIFIED_SINCE'] ) && ( strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']) <= filemtime($this->image_dir)) ){
    			header ('HTTP/1.1 304 Not Modified');
    			die( );
    		} else $this->display_image( );
    
    	}

    Or do you might creating a admin user in your wp installation forme to test it

  9. glvz
    Member
    Posted 4 years ago #

    Hey Hax i've edited the file and saved it and still no good so ive created a user for you to log in and see if you could check it for me same url username:Hax and pw:haxpw1
    Thanks again for the help the plug in is great and its exactly what i need i did have a suggestion just in case if you hadnt thought of it or if its already been said to see if we could change the gallery id to be a custom name to match the gallery...just a thought .
    Thanks again.

  10. Hax
    Member
    Plugin Author

    Posted 4 years ago #

    OK I think is fixed.

    I will add the fix on the next release; your site should be fix, but you should update to next release also delete my user.

  11. glvz
    Member
    Posted 4 years ago #

    Thank you very much it works great hope everything goes good with the next release i will def look out for it and ill definitely donate for to help support the plugins.
    Thanks again Hax!

  12. greentokyo11
    Member
    Posted 3 years ago #

    glvz, you initially had the issue of directory not getting created. How did you resolve that?
    I am getting the same issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic