Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter andreasmiller

    (@andreasmiller)

    I’ve been looking for an infected file. Haven’t found anything yet. ghost1227, please let me know if you figure anything out. I’ll keep searching.

    Thread Starter andreasmiller

    (@andreasmiller)

    I renamed the plugin folder to disable all of the plugins but the problem was still occurring. I then switched themes and the problem disappeared. I searched through all the theme files for “http” to see if there was any code adding links anywhere, but there was nothing. Then I reactivated the theme and the problem is still there.

    Where could it be coming from. How can I go about finding the source of the problem?

    Thread Starter andreasmiller

    (@andreasmiller)

    It is and I can’t figure out what the problem is or where to start looking. I’m not even sure if it’s malicious code or a WP bug. I just installed the website a few days ago.

    The only active plugins are WooCommerce and Twitter for WordPress.

    SOMEONE PLEASE HELP!! I know PHP fairly well I just have no idea how to go about finding where this could be originating from.

    Any help or a shove in the right direction would be greatly appreciated.

    Thread Starter andreasmiller

    (@andreasmiller)

    This is what I needed. On the front page in the original post the uploaded pictures are different sizes, but on the single post page I need to display all images in the large size. This worked great to display them, now I just have to format the page in a correct way. Thanks for all your suggestions.

    $images =& get_children( 'post_parent=' . $post->ID . '&post_type=attachment&post_mime_type=image' );
    if ( empty($images) ) {
    	// no attachments here
    } else {
    	foreach ( $images as $image ) {
    		echo wp_get_attachment_image( $image->ID, $size='large' );
    	}
    }
    Thread Starter andreasmiller

    (@andreasmiller)

    TimThumb sounds interesting, I’ll look into it. The way the page works is that when submitting a picture as a small thumbnail that will show up in the post, we also need a medium version of the same image to be displayed on a separate page. Is there a better way to do this?

    Criteria: upload once through posting tool
    Versions automatically generated: small thumb, medium thumb and the original

    What’s the simplest and most size/loading friendly way to do this?

    Thread Starter andreasmiller

    (@andreasmiller)

    anyone?

Viewing 6 replies - 1 through 6 (of 6 total)