DrupalBin
Submit Code
About
Recent Posts
Fix for Views cumulus: tag_cloud
Fix for Code
sjfgjgjfgidfgh
Code
Code
test.berniecram.com.alias.drushrc.php
Code
provision-deploy error
Create node programmatically with file
Code
more
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Tags
CCK
drupal
fapi
jquery
menu
module
php
simpletest
taxonomy
test
theme
views
more tags
Home
imagefield
Fix for Using jquery cycle and lightbox in node tempalte using image field images
June 29, 2011 - 10:02pm — Anonymous
<?php
drupal_add_js
(
path_to_theme
(
)
.
'/jquery.cycle.js'
,
'theme'
)
;
drupal_add_js
(
"
$(document).ready(function(){
$('#photos').cycle({
fx: 'fade',
speed: 2500,
t
imagefield
jquery
theme
Read more
Fix for teaser thumbnail function for imagefield
February 28, 2011 - 6:50am — Anonymous
<?php
//put in template.php
function
theme_get_node_image
(
$node
,
$field
=
'field_images'
,
$preset
=
'150x150_scaled'
,
$float
=
'right'
,
$width
=
"150"
)
{
if
(
!
$node
-
>
$field
)
{
return
false
;
}
imagefield
Read more
Code
January 21, 2011 - 6:36pm — Anonymous
/**
* shadowbox.module
* How to display image title in separate div after the image
*
* Change line 287:
*/
return
'<div class="'
.
$wrapper_classes
.
'">'
.
$output
.
imagefield
shadowbox
Read more
Fix for Image to imagefield converter
March 19, 2010 - 9:39pm — Anonymous
php
/**
* @file
* Migrate all image.module nodes to imagefields in Drupal 6.
*
* PREREQUISITES
* -------------
* - You must create a single imagefield field to which all your images will be mig
CCK
image
imagefield
Read more
Fix for Image Field Import
December 15, 2009 - 3:55am — Anonymous
file_copy
(
$path
,
$dest
,
FILE_EXISTS_REPLACE
)
;
$node
-
>
field_foto
[
0
]
[
'list'
]
=
1
;
$node
-
>
field_foto
[
0
]
[
'data'
]
=
array
(
'description'
=
>
''
,
'alt'
=
>
''
,
'title'
=
>
''
)
;
$node
-
>
field_foto
[
imagefield
Read more
Fix for Image Field Import
December 10, 2009 - 10:09am — Anonymous
function
cp_field_file_save_file
(
$filepath
,
$validators
=
array
(
)
,
$dest
=
FALSE
,
$account
=
NULL
)
{
// Add in our check of the the file name length.
$validators
[
'file_validate_name_length'
]
=
imagefield
Read more
Fix for Fix for Image Field Import
December 10, 2009 - 7:36am — Anonymous
// get the field and its validators
$field
= content_fields
(
'field_bilder'
,
'INHALTSTYP'
)
;
$validators
= filefield_widget_upload_validators
(
$field
)
;
// make sure that the directory exists
imagefield
Read more
Fix for Fix for Image Field Import
December 10, 2009 - 7:35am — Anonymous
if
(
$row
[
'avatar'
]
)
{
$path
=
'files/old/joomla/images/comprofiler/'
.
imagefield
Read more
Fix for Image Field Import
December 10, 2009 - 7:33am — Anonymous
if
(
$row
[
'avatar'
]
)
{
$path
=
'files/old/joomla/images/comprofiler/'
.
imagefield
Read more
Fix for Image Field Import
December 10, 2009 - 7:19am — Anonymous
// get the field and its validators
$field
= content_fields
(
'field_bilder'
,
'modell'
)
;
$validators
= filefield_widget_upload_validators
(
$field
)
;
// make sure that the directory exists
imagefield
Read more
1
2
3
next ›
last »