[WCDDL] Display Movie Posters on Hover

Description:
This is a small plugin which allows users to see a poster/image of the movie when hovering over a specific movie which is displayed on home page etc.

Example(hovering over movie name "21" shows poster of the movie "21":


How to Implement?
1. Download required files from here:
http://www.mediafire.com/?pa66yf2myzevuzz

2. Once you have downloaded the above file, extract it and copy the "grabmoveimage" complete folder and put it in the folder "Modules" (wcddl/modules).

3. Open up "index.php" in notepad2/IDE/etc
Add this right above </head>
Code: 
<script src="modules/grabmovieimage/jquery.js" type="text/javascript"></script>
<script src="modules/grabmovieimage/main.js" type="text/javascript"></script>
4. Find this code block (or similar):
Code: 
<tr>

			<td><a href="download.php?id=<?php echo $row->id; ?>"><?php echo $row->showTitle(); ?></a></td>

		</tr>
and replace (modify) with:

Code: 
<?php 
                        if($row->type == "movie"){
                            ?>
                        <td><a href="download.php?id=<?php echo $row->id; ?>" class="screenshot" rel="<?php echo getImage($row->showTitle()); ?>"><?php echo $row->showTitle(); ?></a></td>
			<?php
                        } 
                        else{
                            
                        ?>
			<td><a href="download.php?id=<?php echo $row->id; ?>"><?php echo $row->showTitle(); ?></a></td>
			<?php } ?>
5. Editing the style.css, open it in notepad2/etc and add this block to the end of style.css
Code: 
#screenshot{
	position:absolute;
	border:1px solid #ccc;
	background:#333;
	padding:5px;
	display:none;
	color:#fff;
	}
6. Find this line in "index.php"
Code: 
include "wc3.php";
Below it add:
Code: 
include "modules/grabmovieimage/gim.php";
7. Save it all, upload, Trail and Error.

NOTES
CONSISTENCY is a MAJOR issue here. Because 99% of DDL sites have their movies listed as "Chronicle (2012)" with the "(date)" inside brackets, and this 'causes other images to be shown, I haven't made a fix for this "yet", but if your site just lists the movie name then you should be fine, but if it lists the year then you will have problems.
_Vick Reviewed by _Vick on . [WCDDL] Display Movie Posters on Hover Display Movie Posters on Hover Description: This is a small plugin which allows users to see a poster/image of the movie when hovering over a specific movie which is displayed on home page etc. Example(hovering over movie name "21" shows poster of the movie "21": http://screensnapr.com/e/kTCAfR.jpg How to Implement? 1. Download required files from here: Rating: 5